﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MangoMes.Commont.DTOs
{
    /// <summary>
    /// 生产退料Dto
    /// </summary>
    public class StrippingDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int StrippingId { get; set; }
        /// <summary>
        /// 退料单编号
        /// </summary>
        public string? StrippingNode { get; set; }
        /// <summary>
        /// 退料单名称
        /// </summary>
        public string? StrippingName { get; set; }

        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime StrippingTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public int StashId { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public int Documents { get; set; }

        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int ProductionWorkOrdersID { get; set; }
        /// <summary>
        /// 生产工单名称
        /// </summary>
        public string ProductionWorkOrdersName { get; set; }
        /// <summary>
        /// 生产工单
        /// </summary>
        public string? ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 工单类型
        /// </summary>
        public string TicketsType { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderNumber { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductsNo { get; set; }
        /// <summary>
        /// 工单数量
        /// </summary>
        public int TicketsNum { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string? CustomerNo { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime? DemandDate { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? BatchNo { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public string? StashNum { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? StashName { get; set; }
        public string? ChargeName { get; set; }
        public int Area { get; set; }
        public string? Position { get; set; }
        public string? WarehouseNote { get; set; }
        public int isyes { get; set; }
        public string? TwoDimensionalCode { get; set; }
        public int StrippingStatus { get; set; }
    }
}
